package com.victor9ac.tfm.flickr.client;

import java.util.ResourceBundle;

import com.flickr4java.flickr.Flickr;
import com.flickr4java.flickr.REST;

public class FlickrConnector {

	 ResourceBundle rb = ResourceBundle.getBundle("auth.flickr");
	
	 Flickr flickr; 
	 
	 public Flickr getFlickrInstance(){
			String apiKey = rb.getString("apiKey");
			String sharedSecret = rb.getString("sharedSecret");
			Flickr f = new Flickr(apiKey, sharedSecret, new REST());	
			return f;
	 }
}
